.class public Lcom/waiqin365/lightapp/im/utils/SmileUtils;
.super Ljava/lang/Object;


# static fields
.field private static final emoticons:Ljava/util/Map;

.field public static final im_ee_1:Ljava/lang/String; = "[em]e100[/em]"

.field public static final im_ee_10:Ljava/lang/String; = "[em]e109[/em]"

.field public static final im_ee_11:Ljava/lang/String; = "[em]e110[/em]"

.field public static final im_ee_12:Ljava/lang/String; = "[em]e111[/em]"

.field public static final im_ee_13:Ljava/lang/String; = "[em]e112[/em]"

.field public static final im_ee_14:Ljava/lang/String; = "[em]e113[/em]"

.field public static final im_ee_15:Ljava/lang/String; = "[em]e114[/em]"

.field public static final im_ee_16:Ljava/lang/String; = "[em]e115[/em]"

.field public static final im_ee_17:Ljava/lang/String; = "[em]e116[/em]"

.field public static final im_ee_18:Ljava/lang/String; = "[em]e117[/em]"

.field public static final im_ee_19:Ljava/lang/String; = "[em]e118[/em]"

.field public static final im_ee_2:Ljava/lang/String; = "[em]e101[/em]"

.field public static final im_ee_20:Ljava/lang/String; = "[em]e119[/em]"

.field public static final im_ee_21:Ljava/lang/String; = "[em]e120[/em]"

.field public static final im_ee_22:Ljava/lang/String; = "[em]e121[/em]"

.field public static final im_ee_23:Ljava/lang/String; = "[em]e122[/em]"

.field public static final im_ee_24:Ljava/lang/String; = "[em]e123[/em]"

.field public static final im_ee_25:Ljava/lang/String; = "[em]e124[/em]"

.field public static final im_ee_26:Ljava/lang/String; = "[em]e125[/em]"

.field public static final im_ee_27:Ljava/lang/String; = "[em]e126[/em]"

.field public static final im_ee_28:Ljava/lang/String; = "[em]e127[/em]"

.field public static final im_ee_29:Ljava/lang/String; = "[em]e128[/em]"

.field public static final im_ee_3:Ljava/lang/String; = "[em]e102[/em]"

.field public static final im_ee_30:Ljava/lang/String; = "[em]e129[/em]"

.field public static final im_ee_31:Ljava/lang/String; = "[em]e130[/em]"

.field public static final im_ee_32:Ljava/lang/String; = "[em]e131[/em]"

.field public static final im_ee_33:Ljava/lang/String; = "[em]e132[/em]"

.field public static final im_ee_34:Ljava/lang/String; = "[em]e133[/em]"

.field public static final im_ee_35:Ljava/lang/String; = "[em]e134[/em]"

.field public static final im_ee_36:Ljava/lang/String; = "[em]e135[/em]"

.field public static final im_ee_37:Ljava/lang/String; = "[em]e136[/em]"

.field public static final im_ee_38:Ljava/lang/String; = "[em]e137[/em]"

.field public static final im_ee_39:Ljava/lang/String; = "[em]e138[/em]"

.field public static final im_ee_4:Ljava/lang/String; = "[em]e103[/em]"

.field public static final im_ee_40:Ljava/lang/String; = "[em]e139[/em]"

.field public static final im_ee_41:Ljava/lang/String; = "[em]e140[/em]"

.field public static final im_ee_42:Ljava/lang/String; = "[em]e141[/em]"

.field public static final im_ee_43:Ljava/lang/String; = "[em]e142[/em]"

.field public static final im_ee_44:Ljava/lang/String; = "[em]e143[/em]"

.field public static final im_ee_45:Ljava/lang/String; = "[em]e144[/em]"

.field public static final im_ee_46:Ljava/lang/String; = "[em]e145[/em]"

.field public static final im_ee_47:Ljava/lang/String; = "[em]e146[/em]"

.field public static final im_ee_48:Ljava/lang/String; = "[em]e147[/em]"

.field public static final im_ee_49:Ljava/lang/String; = "[em]e148[/em]"

.field public static final im_ee_5:Ljava/lang/String; = "[em]e104[/em]"

.field public static final im_ee_50:Ljava/lang/String; = "[em]e149[/em]"

.field public static final im_ee_51:Ljava/lang/String; = "[em]e150[/em]"

.field public static final im_ee_52:Ljava/lang/String; = "[em]e151[/em]"

.field public static final im_ee_53:Ljava/lang/String; = "[em]e152[/em]"

.field public static final im_ee_54:Ljava/lang/String; = "[em]e153[/em]"

.field public static final im_ee_55:Ljava/lang/String; = "[em]e154[/em]"

.field public static final im_ee_56:Ljava/lang/String; = "[em]e155[/em]"

.field public static final im_ee_57:Ljava/lang/String; = "[em]e156[/em]"

.field public static final im_ee_58:Ljava/lang/String; = "[em]e157[/em]"

.field public static final im_ee_59:Ljava/lang/String; = "[em]e158[/em]"

.field public static final im_ee_6:Ljava/lang/String; = "[em]e105[/em]"

.field public static final im_ee_60:Ljava/lang/String; = "[em]e159[/em]"

.field public static final im_ee_61:Ljava/lang/String; = "[em]e160[/em]"

.field public static final im_ee_62:Ljava/lang/String; = "[em]e161[/em]"

.field public static final im_ee_63:Ljava/lang/String; = "[em]e162[/em]"

.field public static final im_ee_64:Ljava/lang/String; = "[em]e163[/em]"

.field public static final im_ee_65:Ljava/lang/String; = "[em]e164[/em]"

.field public static final im_ee_66:Ljava/lang/String; = "[em]e165[/em]"

.field public static final im_ee_67:Ljava/lang/String; = "[em]e166[/em]"

.field public static final im_ee_68:Ljava/lang/String; = "[em]e167[/em]"

.field public static final im_ee_69:Ljava/lang/String; = "[em]e168[/em]"

.field public static final im_ee_7:Ljava/lang/String; = "[em]e106[/em]"

.field public static final im_ee_70:Ljava/lang/String; = "[em]e169[/em]"

.field public static final im_ee_71:Ljava/lang/String; = "[em]e170[/em]"

.field public static final im_ee_72:Ljava/lang/String; = "[em]e171[/em]"

.field public static final im_ee_73:Ljava/lang/String; = "[em]e172[/em]"

.field public static final im_ee_74:Ljava/lang/String; = "[em]e173[/em]"

.field public static final im_ee_75:Ljava/lang/String; = "[em]e174[/em]"

.field public static final im_ee_76:Ljava/lang/String; = "[em]e175[/em]"

.field public static final im_ee_77:Ljava/lang/String; = "[em]e176[/em]"

.field public static final im_ee_78:Ljava/lang/String; = "[em]e177[/em]"

.field public static final im_ee_79:Ljava/lang/String; = "[em]e178[/em]"

.field public static final im_ee_8:Ljava/lang/String; = "[em]e107[/em]"

.field public static final im_ee_80:Ljava/lang/String; = "[em]e179[/em]"

.field public static final im_ee_81:Ljava/lang/String; = "[em]e180[/em]"

.field public static final im_ee_82:Ljava/lang/String; = "[em]e181[/em]"

.field public static final im_ee_83:Ljava/lang/String; = "[em]e182[/em]"

.field public static final im_ee_84:Ljava/lang/String; = "[em]e183[/em]"

.field public static final im_ee_85:Ljava/lang/String; = "[em]e184[/em]"

.field public static final im_ee_86:Ljava/lang/String; = "[em]e185[/em]"

.field public static final im_ee_87:Ljava/lang/String; = "[em]e186[/em]"

.field public static final im_ee_88:Ljava/lang/String; = "[em]e187[/em]"

.field public static final im_ee_89:Ljava/lang/String; = "[em]e188[/em]"

.field public static final im_ee_9:Ljava/lang/String; = "[em]e108[/em]"

.field public static final im_ee_90:Ljava/lang/String; = "[em]e189[/em]"

.field private static final spannableFactory:Landroid/text/Spannable$Factory;


# direct methods
.method static constructor <clinit>()V
    .locals 3

    invoke-static {}, Landroid/text/Spannable$Factory;->getInstance()Landroid/text/Spannable$Factory;

    move-result-object v0

    sput-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->spannableFactory:Landroid/text/Spannable$Factory;

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    sput-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e100[/em]"

    const v2, 0x7f0201c1

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e101[/em]"

    const v2, 0x7f0201cc

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e102[/em]"

    const v2, 0x7f0201d7

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e103[/em]"

    const v2, 0x7f0201e2

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e104[/em]"

    const v2, 0x7f0201ed

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e105[/em]"

    const v2, 0x7f0201f8

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e106[/em]"

    const v2, 0x7f020203

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e107[/em]"

    const v2, 0x7f02020e

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e108[/em]"

    const v2, 0x7f020219

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e109[/em]"

    const v2, 0x7f0201c2

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e110[/em]"

    const v2, 0x7f0201c3

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e111[/em]"

    const v2, 0x7f0201c4

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e112[/em]"

    const v2, 0x7f0201c5

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e113[/em]"

    const v2, 0x7f0201c6

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e114[/em]"

    const v2, 0x7f0201c7

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e115[/em]"

    const v2, 0x7f0201c8

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e116[/em]"

    const v2, 0x7f0201c9

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e117[/em]"

    const v2, 0x7f0201ca

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e118[/em]"

    const v2, 0x7f0201cb

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e119[/em]"

    const v2, 0x7f0201cd

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e120[/em]"

    const v2, 0x7f0201ce

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e121[/em]"

    const v2, 0x7f0201cf

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e122[/em]"

    const v2, 0x7f0201d0

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e123[/em]"

    const v2, 0x7f0201d1

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e124[/em]"

    const v2, 0x7f0201d2

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e125[/em]"

    const v2, 0x7f0201d3

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e126[/em]"

    const v2, 0x7f0201d4

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e127[/em]"

    const v2, 0x7f0201d5

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e128[/em]"

    const v2, 0x7f0201d6

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e129[/em]"

    const v2, 0x7f0201d8

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e130[/em]"

    const v2, 0x7f0201d9

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e131[/em]"

    const v2, 0x7f0201da

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e132[/em]"

    const v2, 0x7f0201db

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e133[/em]"

    const v2, 0x7f0201dc

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e134[/em]"

    const v2, 0x7f0201dd

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e135[/em]"

    const v2, 0x7f0201de

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e136[/em]"

    const v2, 0x7f0201df

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e137[/em]"

    const v2, 0x7f0201e0

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e138[/em]"

    const v2, 0x7f0201e1

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e139[/em]"

    const v2, 0x7f0201e3

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e140[/em]"

    const v2, 0x7f0201e4

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e141[/em]"

    const v2, 0x7f0201e5

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e142[/em]"

    const v2, 0x7f0201e6

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e143[/em]"

    const v2, 0x7f0201e7

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e144[/em]"

    const v2, 0x7f0201e8

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e145[/em]"

    const v2, 0x7f0201e9

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e146[/em]"

    const v2, 0x7f0201ea

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e147[/em]"

    const v2, 0x7f0201eb

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e148[/em]"

    const v2, 0x7f0201ec

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e149[/em]"

    const v2, 0x7f0201ee

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e150[/em]"

    const v2, 0x7f0201ef

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e151[/em]"

    const v2, 0x7f0201f0

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e152[/em]"

    const v2, 0x7f0201f1

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e153[/em]"

    const v2, 0x7f0201f2

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e154[/em]"

    const v2, 0x7f0201f3

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e155[/em]"

    const v2, 0x7f0201f4

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e156[/em]"

    const v2, 0x7f0201f5

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e157[/em]"

    const v2, 0x7f0201f6

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e158[/em]"

    const v2, 0x7f0201f7

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e159[/em]"

    const v2, 0x7f0201f9

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e160[/em]"

    const v2, 0x7f0201fa

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e161[/em]"

    const v2, 0x7f0201fb

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e162[/em]"

    const v2, 0x7f0201fc

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e163[/em]"

    const v2, 0x7f0201fd

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e164[/em]"

    const v2, 0x7f0201fe

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e165[/em]"

    const v2, 0x7f0201ff

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e166[/em]"

    const v2, 0x7f020200

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e167[/em]"

    const v2, 0x7f020201

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e168[/em]"

    const v2, 0x7f020202

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e169[/em]"

    const v2, 0x7f020204

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e170[/em]"

    const v2, 0x7f020205

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e171[/em]"

    const v2, 0x7f020206

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e172[/em]"

    const v2, 0x7f020207

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e173[/em]"

    const v2, 0x7f020208

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e174[/em]"

    const v2, 0x7f020209

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e175[/em]"

    const v2, 0x7f02020a

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e176[/em]"

    const v2, 0x7f02020b

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e177[/em]"

    const v2, 0x7f02020c

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e178[/em]"

    const v2, 0x7f02020d

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e179[/em]"

    const v2, 0x7f02020f

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e180[/em]"

    const v2, 0x7f020210

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e181[/em]"

    const v2, 0x7f020211

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e182[/em]"

    const v2, 0x7f020212

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e183[/em]"

    const v2, 0x7f020213

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e184[/em]"

    const v2, 0x7f020214

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e185[/em]"

    const v2, 0x7f020215

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e186[/em]"

    const v2, 0x7f020216

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e187[/em]"

    const v2, 0x7f020217

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e188[/em]"

    const v2, 0x7f020218

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    const-string/jumbo v1, "[em]e189[/em]"

    const v2, 0x7f02021a

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addPattern(Ljava/util/Map;Ljava/lang/String;I)V

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method private static addPattern(Ljava/util/Map;Ljava/lang/String;I)V
    .locals 2

    invoke-static {p1}, Ljava/util/regex/Pattern;->quote(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;

    move-result-object v0

    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-interface {p0, v0, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    return-void
.end method

.method public static addSmiles(Landroid/content/Context;Landroid/text/Spannable;F)Z
    .locals 12

    const/4 v4, 0x1

    const/4 v3, 0x0

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    invoke-interface {v0}, Ljava/util/Map;->entrySet()Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v6

    move v2, v3

    :cond_0
    invoke-interface {v6}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-interface {v6}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/Map$Entry;

    invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/regex/Pattern;

    invoke-virtual {v1, p1}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;

    move-result-object v7

    :cond_1
    :goto_0
    invoke-virtual {v7}, Ljava/util/regex/Matcher;->find()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-virtual {v7}, Ljava/util/regex/Matcher;->start()I

    move-result v1

    invoke-virtual {v7}, Ljava/util/regex/Matcher;->end()I

    move-result v5

    const-class v8, Landroid/text/style/ImageSpan;

    invoke-interface {p1, v1, v5, v8}, Landroid/text/Spannable;->getSpans(IILjava/lang/Class;)[Ljava/lang/Object;

    move-result-object v1

    check-cast v1, [Landroid/text/style/ImageSpan;

    array-length v8, v1

    move v5, v3

    :goto_1
    if-ge v5, v8, :cond_4

    aget-object v9, v1, v5

    invoke-interface {p1, v9}, Landroid/text/Spannable;->getSpanStart(Ljava/lang/Object;)I

    move-result v10

    invoke-virtual {v7}, Ljava/util/regex/Matcher;->start()I

    move-result v11

    if-lt v10, v11, :cond_2

    invoke-interface {p1, v9}, Landroid/text/Spannable;->getSpanEnd(Ljava/lang/Object;)I

    move-result v10

    invoke-virtual {v7}, Ljava/util/regex/Matcher;->end()I

    move-result v11

    if-gt v10, v11, :cond_2

    invoke-interface {p1, v9}, Landroid/text/Spannable;->removeSpan(Ljava/lang/Object;)V

    add-int/lit8 v5, v5, 0x1

    goto :goto_1

    :cond_2
    move v1, v3

    :goto_2
    if-eqz v1, :cond_1

    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/Integer;

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    invoke-virtual {v2, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-static {v1, p2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->zoomDrawable(Landroid/graphics/drawable/Drawable;F)Landroid/graphics/Bitmap;

    move-result-object v1

    new-instance v2, Landroid/text/style/ImageSpan;

    invoke-direct {v2, p0, v1}, Landroid/text/style/ImageSpan;-><init>(Landroid/content/Context;Landroid/graphics/Bitmap;)V

    invoke-virtual {v7}, Ljava/util/regex/Matcher;->start()I

    move-result v1

    invoke-virtual {v7}, Ljava/util/regex/Matcher;->end()I

    move-result v5

    const/16 v8, 0x21

    invoke-interface {p1, v2, v1, v5, v8}, Landroid/text/Spannable;->setSpan(Ljava/lang/Object;III)V

    move v2, v4

    goto :goto_0

    :cond_3
    return v2

    :cond_4
    move v1, v4

    goto :goto_2
.end method

.method public static containsKey(Ljava/lang/String;)Z
    .locals 3

    const/4 v1, 0x0

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->emoticons:Ljava/util/Map;

    invoke-interface {v0}, Ljava/util/Map;->entrySet()Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/Map$Entry;

    invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/regex/Pattern;

    invoke-virtual {v0, p0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/regex/Matcher;->find()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_1
    move v0, v1

    goto :goto_0
.end method

.method public static drawableToBitmap(Landroid/graphics/drawable/Drawable;)Landroid/graphics/Bitmap;
    .locals 5

    const/4 v4, 0x0

    invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I

    move-result v1

    invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I

    move-result v2

    invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->getOpacity()I

    move-result v0

    const/4 v3, -0x1

    if-eq v0, v3, :cond_0

    sget-object v0, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;

    :goto_0
    invoke-static {v1, v2, v0}, Landroid/graphics/Bitmap;->createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;

    move-result-object v0

    new-instance v3, Landroid/graphics/Canvas;

    invoke-direct {v3, v0}, Landroid/graphics/Canvas;-><init>(Landroid/graphics/Bitmap;)V

    invoke-virtual {p0, v4, v4, v1, v2}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    invoke-virtual {p0, v3}, Landroid/graphics/drawable/Drawable;->draw(Landroid/graphics/Canvas;)V

    return-object v0

    :cond_0
    sget-object v0, Landroid/graphics/Bitmap$Config;->RGB_565:Landroid/graphics/Bitmap$Config;

    goto :goto_0
.end method

.method public static getSmiledText(Landroid/content/Context;Ljava/lang/CharSequence;F)Landroid/text/Spannable;
    .locals 1

    sget-object v0, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->spannableFactory:Landroid/text/Spannable$Factory;

    invoke-virtual {v0, p1}, Landroid/text/Spannable$Factory;->newSpannable(Ljava/lang/CharSequence;)Landroid/text/Spannable;

    move-result-object v0

    invoke-static {p0, v0, p2}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->addSmiles(Landroid/content/Context;Landroid/text/Spannable;F)Z

    return-object v0
.end method

.method public static zoomDrawable(Landroid/graphics/drawable/Drawable;F)Landroid/graphics/Bitmap;
    .locals 7

    const/4 v1, 0x0

    invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I

    move-result v3

    invoke-virtual {p0}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I

    move-result v4

    invoke-static {p0}, Lcom/waiqin365/lightapp/im/utils/SmileUtils;->drawableToBitmap(Landroid/graphics/drawable/Drawable;)Landroid/graphics/Bitmap;

    move-result-object v0

    new-instance v5, Landroid/graphics/Matrix;

    invoke-direct {v5}, Landroid/graphics/Matrix;-><init>()V

    invoke-virtual {v5, p1, p1}, Landroid/graphics/Matrix;->postScale(FF)Z

    const/4 v6, 0x1

    move v2, v1

    invoke-static/range {v0 .. v6}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIIILandroid/graphics/Matrix;Z)Landroid/graphics/Bitmap;

    move-result-object v0

    return-object v0
.end method
